package server;

import java.rmi.*;

public interface BkCAccITF extends Remote{
	public int addAcc(int pID,String pname,int pkey) throws RemoteException;
	public double checkBalance(int ID) throws RemoteException;
	public int deposit(int ID,double CAin) throws RemoteException;
	public int withdrawl(int ID,double CAout) throws RemoteException;
	public int transfer(int ID,int tranNum,double tranSum) throws RemoteException;
	
	public boolean checkKey(int pID,int pkey) throws RemoteException;
	public boolean changeKey(int pID,int pkey) throws RemoteException;
	public int getKey(int pID) throws RemoteException;
}


